---
layout: api
title: "v2.0.0 JavaScript Library: Theming"
categories: api
version: v2.0.0
permalink: /api/v2.0.0/theming/
---
<h2 id="section-theming">Theming</h2>
<h3 id="section-dark-theme">Dark theme</h3>
<p>Mapbox.js implements a simple, light style on all interaction elements. A dark theme
is available by applying <code>class=&quot;dark&quot;</code> to the map div.</p>
<p><em>Example</em>:</p>
<pre><code>&lt;div id=&quot;map&quot; class=&quot;dark&quot;&gt;&lt;/div&gt;
</code></pre>